package com.chatdating.annotate;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 校验是否是会员
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface RequiresMember {
    String level() default "BASIC";    // 默认基础无会员级别
    boolean mustActive() default true; // 会员权限是否必须在有效期内
}